﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace QuanLyShopCD.GUI
{
    public partial class frm_caydanhmuc : Form
    {
        QuanLyShopCD.BL.cl_caydanhmuc clCDM;
        public frm_caydanhmuc()
        {
            InitializeComponent();
        }

        private void frm_caydanhmuc_Load(object sender, EventArgs e)
        {
            clCDM = new QuanLyShopCD.BL.cl_caydanhmuc(this);
            clCDM.hienthicay();
        }

        private void trv_danhmuc_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e)
        {
            clCDM.hienthi_View(e.Node.Tag.ToString());
            //clCDM.hienthi_View(trv_danhmuc.SelectedNode);
        }
    }
}
